package com.weepal.pavement.mqtt.demo.config.dataSource;

public class DataSourceThreadLocal {
    private static ThreadLocal<String> DATASOURCES = new ThreadLocal<>();

    public static void setDatasources(String datasources) {
        DATASOURCES.set(datasources);
    }

    public static String getDatasources() {
        return DATASOURCES.get();
    }

    public static void removeDatasources() {
        DATASOURCES.remove();
    }
}
